<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: 16274
  Date: 2023/3/5
  Time: 12:40
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<html>
<head>
    <base href="${ctx}/">
    <meta charset="UTF-8">
    <title>添加分类</title>
    <link rel="stylesheet" href="assets/employee/css/add.css">
    <script src="assets/lib/jquery/jquery-3.6.3.min.js"></script>
    <script src="assets/lib/layer/layer.js"></script>
    <script src="assets/lib/laydate/laydate.js"></script>

    <script>
        const ctx = "${ctx}";
        const error ="${error}";

    </script>
    <script src="assets/kind/js/add.js"></script>
</head>
<body>
<div class="container">
    <h1>添加顾客信息</h1>
    <form  id="emp-form" action="kind/add" method="post" >
        <div>
            <label for="">种类编号</label>
            <input type="text" name="kind_id" placeholder="请输入种类编号，不可为空" value="${kind.kindId}"/>
        </div>
        <div>
            <label for="">名称</label>
            <input type="text" name="name" value="${kind.name}"/>
        </div>
        <div>
            <label for="">备注</label>
            <input type="text" name="description" value="${kind.description}"/>
        </div>
        <div class="submit">
            <button id="sub-btn" type="button">提交</button>
            <button type="reset">重置</button>
        </div>
    </form>
</div>
</body>
</html>
